﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AdvanceLib.ScriptCore;

namespace AdvanceLib.ScriptCore.DebugCore
{
    public abstract class CommandPass : IDebugPass
    {
        #region Properties
        public string CurrentLine { get; set; }
        public int CurrentLineIndex { get; set; }
        public int CurrentLinePartIndex { get; set; }
        #endregion

        #region Methods
        public void Reset()
        {
            this.CurrentLine = string.Empty;
            this.CurrentLineIndex = 0;
            this.CurrentLinePartIndex = 0;
        }
        #endregion

        #region Abtract
        public abstract void Pass(DebugResult result, string input);
        #endregion
    }
}
